-- GENERATED SPELL FOR [Artorius the Amiable] --


function spell0_14531(pUnit, Event) --@Demonic Doom,n/a--
pUnit:FullCastSpellOnTarget(23298,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14531', 45000, 1)
end

function Sorts_14531(pUnit, Event)
local choix_sorts_14531 = math.random(0, 0)
if choix_sorts_14531 == 0 then
pUnit:RegisterEvent('spell0_14531', 1, 1)
end
end

function mob14531_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14531', math.random(1500, 3000), 1)
end

function mob14531_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14531_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14531_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14531, 1, 'mob14531_Action')
RegisterUnitEvent(14531, 2, 'mob14531_Leave')
RegisterUnitEvent(14531, 3, 'mob14531_Kill')
RegisterUnitEvent(14531, 4, 'mob14531_Die')
